<template>
 <div class="downloaded">
   <div class="downloaded-top">
     <span class="iconfont">&#xe638;</span>已下载
   </div>
   <div class="downloaded-content">
     <van-tabs v-model="active">
       <van-tab title="报装咨询">
         <li class="border-bottom">
           <span>35kv报装资料1</span>
           <span class="downloaded-content-date">2018-4-27</span>
         </li>
         <li>
           <span>35kv报装资料2</span>
           <span class="downloaded-content-date">2018-4-27</span>
         </li>
         <li>
           <span>35kv报装资料3</span>
           <span class="downloaded-content-date">2018-4-27</span>
         </li>
         <li>
           <span>35kv报装资料4</span>
           <span class="downloaded-content-date">2018-4-27</span>
         </li>
       </van-tab>
       <van-tab title="典型方案咨询">
         <li class="border-bottom">
           <span>典型方案咨询1</span>
           <span class="downloaded-content-date">2018-4-27</span>
         </li>
         <li>
           <span>典型方案咨询2</span>
           <span class="downloaded-content-date">2018-4-27</span>
         </li>
       </van-tab>
       <van-tab title="政策法规咨询">
         <li class="border-bottom">
           <span>政策法规咨询1</span>
           <span class="downloaded-content-date">2018-4-27</span>
         </li>
         <li>
           <span>政策法规咨询2</span>
           <span class="downloaded-content-date">2018-4-27</span>
         </li>
       </van-tab>
     </van-tabs>
   </div>
   <div class="partition-div01"></div>
 </div>
</template>

<script>
export default {
  name: 'ConsultDownloaded',
  props: {
    list: Array
  },
  data () {
    return {
      active: 0
    }
  }
}
</script>

<style lang="stylus" scoped>
  .downloaded-top
    font-family: PingFangSC-Regular;
    font-size: 22px;
    color: #1F242B;
    line-height: 1.2rem;
    span
      color #148DE0
  .downloaded-content >>> .van-tabs__wrap
    height .8rem
    .van-tabs__nav
      background: #3296FA;
      .van-tab
        background: #FFFFFF;
        margin: .04rem .04rem;
        font-family: PingFangSC-Regular;
        font-size: 18px;
        color: #3296FA;
      .van-tab--active
        background: #3296FA;
        color: #FFFFFF;
    .van-tabs__line
      background: none;
  .downloaded-content
    margin: 0 .2rem
    li
      list-style none
      font-family: PingFangSC-Regular;
      font-size: 24px;
      color: #242930;
      height 1.2rem
      line-height 1.2rem
      margin: 0 .2rem
  .downloaded-content-date
    float right
   .border-bottom
    border-bottom 1px solid #ddd
  .partition-div01
    height .2rem
    background-color #eaeaea
</style>
